{OVERALL_HEADER}
<div id="column">
	<div class="modules">
		<ul style="list-style-image: none; list-style-position: outside; list-style-type: none; padding-left: 0px;">	
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="manage.php"><h3>{LANG_MANAGEACC}</h3></a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="profile_edit.php">{LANG_EDITPROF}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="deposit.php">{LANG_DEPOSIT}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="withdraw.php">{LANG_WITHDRAW}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="transfer.php">{LANG_TRANSFERM}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="escrow.php">{LANG_ESCROWM}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="upgrade.php">{LANG_UPGRADES}</a>
			</li>
			<li style="padding: 5px 4px; float: left; line-height: 1em; width: 138px;">
				<a href="transactions.php">{LANG_TRANSLOG}</a>
			</li>
		</ul>
		<div style="clear:both;"></div>
	</div>
</div>
<script type="text/javascript">
<!--
	function update_email()
	{
		alert("Hello, Ajax do it here");
	}
//-->
</script>
<div id="content">
    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>            
            <td>
				<form action="profile_edit.php" method="post" enctype="multipart/form-data" name="form1">
					<table  border="0" cellpadding="0" cellspacing="0">
              			<tr>
                			<td class="normal"><strong>{LANG_USERNAME}</strong><br>
      							{USERNAME}<br><br>
      							<table>
      								<tr>
      									<td>
      										<strong>New password</strong>
      									</td>
      									<td>
      										<strong>Confirm password</strong>
      									</td>
      									<td>
      									</td>
      								</tr>
      								<tr>
      									<td>
      										<input name="password" type="text" id="password" value="" size="30">
      									</td>
      									<td>
      										<input name="confirm_password" type="text" id="confirm_pass" value="" size="30">
      									</td>
      									<td>
      										<input type="button" name="changepass" value="Change password" onclick="update_email();">
      									</td>
      								</tr>
      							</table>
      							<strong>{LANG_EMAIL}</strong><br>
      							<input name="email" type="text" id="email" value="{EMAIL}" size="30">
							    <input type="button" name="subemail" value="Change email" onclick="update_email();">
							    <br>      
							    <br>
      							<strong>{LANG_NAMECOM}</strong><br>
      							<input name="name" type="text" id="name" value="{NAME}" size="30">
							      <br>
							      <br>      							
	  								IF("{PAY_TYPE}"=="1"){<strong>{LANG_PAYPALADDR}</strong><br>
	  							<input name="paypal" type="text" id="paypal" value="{PAYPAL}">
							      <br>
							      <br>{:IF}
      							<strong>{LANG_AREAOF}</strong><br>
	  							<table border="0" cellpadding="0" cellspacing="0">
      							{LOOP: JOBTYPE}
	  								IF("{JOBTYPE.catcount}"=="0"){
	  								<tr>
	  									<td align="left">
	  										<input type="checkbox" name="jobtype[{JOBTYPE.id}]" value="{JOBTYPE.id}"  {JOBTYPE.selectedval}>
	  									</td>
	  									<td>{JOBTYPE.title}</td>
	  								</tr>
	  								{:IF}
      								IF("{JOBTYPE.catcount}"!="0"){
      								<tr>
      									<td colspan="2">
      										<strong>{JOBTYPE.title}</strong>
      									</td>
      								</tr>
      								{:IF}
      							{/LOOP: JOBTYPE}
      							</table>
      							<br>
      							<strong>{LANG_AVGHOURLY}</strong>
      							<br>
      							{CURRENCY_SIGN}
      							<input name="rate" type="text" size="5" value="{RATE}">
      							/hour<br>
							     <br>
							     <strong>{LANG_YOURPROFILE}</strong>
							     <br>
      							<textarea name="profile" cols="50" rows="7" id="textarea">
      								{PROFILE}
      							</textarea>
							      <br>
							      <br>
      							<strong>{LANG_PICTURE}</strong>
      							<strong> (<span class="style2">{LANG_REPLACEPIC}</span>)</strong>
      							<br>
	  							IF("{PICTYPE}"!=""){
	  								<br><img src="attachment.php?type=image&id={PROVIDER_ID}"><br><br>
	  							{:IF}
							      <input type="file" name="picture">
							      <br>
							      <br>
							      <input name="notify" type="checkbox" id="notify" value="1" IF("{NOTIFY}"=="1"){checked{:IF}>
							      {LANG_NOTIFYEMAIL}<br>
							      <br> 
								{LOOP: CUSTOMFIELDS}
								<strong>{CUSTOMFIELDS.title}</strong>
								<br />
          						IF("{CUSTOMFIELDS.type}"=="text"){
          							<input name="custom[{CUSTOMFIELDS.id}]" type="text" id="custom[{CUSTOMFIELDS.id}]" size="30" maxlength="{CUSTOMFIELDS.maxlength}" value="{CUSTOMFIELDS.default}">
          						{:IF}
          						IF("{CUSTOMFIELDS.type}"=="select"){{CUSTOMFIELDS.selectbox}{:IF}
								<br /><br />
        						{/LOOP: CUSTOMFIELDS}
 
							      <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
							      <input type="submit" name="Submit" value="{LANG_UPDATEDET}">
							      <br>
							      <br>
      						</td>
              			</tr>
            		</table>      
            	</form>
            </td>
          </tr>
        </table>
</div>
<div style="clear:both;"></div>
{OVERALL_FOOTER}